home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / FRYANEGG.ZIP / TEST-1.POV < prev    next >
Encoding:
Text File  |  1996-08-31  |  2.4 KB  |  80 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //------------------------------------------------------------------->
  4. //
  5. // "test-1.pov" - Test the #1 (right side) house.
  6. //
  7. // Created by: Paul T. Dawson
  8. //             ptdawson@voicenet.com
  9. //             http://www.voicenet.com/~ptdawson
  10. //
  11. //------------------------------------------------------------------->
  12. //------------------------------------------------------------------->
  13.  
  14.         #include "colors.inc"
  15.         #include "textures.inc"
  16.         #include "skies.inc"
  17.         #include "golds.inc"
  18.         #include "stones.inc"
  19.         #include "woods.inc"
  20.         #default { finish { Shiny } }
  21.  
  22. //------------------------------------------------------------------->
  23. //------------------------------------------------------------------->
  24. //
  25. // Choose a camera.
  26.  
  27.         #declare Which_Camera = 1
  28.  
  29. // Front view.
  30.  
  31.         #if ( Which_Camera = 1 )
  32.                 camera { location < 45*12, 8*12, -25*12>
  33.                 look_at < 28*12, 5*12, 0 > }
  34.         #end
  35.  
  36. // Left side windows.
  37.  
  38.         #if ( Which_Camera = 2 )
  39.                 camera { location < 10*12, 5*12, -20*12>
  40.                 look_at < 10*12, 5*12, 0 > }
  41.         #end
  42.  
  43. // Side view.
  44.  
  45.         #if ( Which_Camera = 3 )
  46.                 camera { location < 80*12, 8*12, 10*12>
  47.                 look_at < 28*12, 5*12, 12*12 > }
  48.         #end
  49.  
  50. //------------------------------------------------------------------->
  51. //------------------------------------------------------------------->
  52. //
  53. // Miscellaneous stuff.
  54.  
  55.         light_source { < -1000, 1000, -1000 > color White }
  56.         light_source { <     0, 1000, -1000 > color White }
  57.         light_source { <  1000, 1000, -1000 > color White }
  58.         light_source { <  1000,   60,   144 > color White }
  59.         light_source { <     0,   20,  -144 > color White }
  60.  
  61.         background { Cyan }
  62.  
  63.         #declare R=seed(0)
  64.  
  65.         plane { y, 0 pigment { LimeGreen } }
  66.  
  67. //------------------------------------------------------------------->
  68. //------------------------------------------------------------------->
  69. //
  70. // Include the house include file (what else???).
  71.  
  72.         #include "house-1.inc"
  73.         object { House_One }
  74.  
  75. //------------------------------------------------------------------->
  76. //------------------------------------------------------------------->
  77. //
  78. // End of this file.
  79.  
  80.